package com.hancai.mapper;

import com.hancai.model.TClient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author super
 */
public interface TClientMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TClient record);

    int insertSelective(TClient record);

    TClient selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClient record);

    int updateByPrimaryKey(TClient record);

    List<TClient> selectClientPage(String keyword);


    void changeStatus(@Param(value="id") Integer id, @Param("status") Integer status);

    TClient selectDetailById(Integer id);

    List<TClient> selectAllClient();


}
